package com.itcam.cm.feign.product;


import com.itcam.cm.model.entity.product.Product;
import com.itcam.cm.model.entity.product.ProductSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-product")
public interface ProductFeignClient {

    @GetMapping("/api/product/auth/getSkuById/{skuId}")
    public ProductSku getSkuById(@PathVariable Long skuId);

}
